package com.mindainfo.groundwave.server.member.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.mindainfo.groundwave.server.member.bean.SysEmployee;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by MD-01 on 2017/6/30.
 */
public interface SysEmployeeMapper extends BaseMapper<SysEmployee>{

    /**
     * 页面条件查询,分页获取人员列表
     */
    List<SysEmployee> queryList(@Param("start")Integer start,
                                @Param("num")Integer num,
                                @Param("key")String key,
                                @Param("deptIdList") List<Integer> deptIdList);

    /**
     * 页面条件查询人员总数
     */
    int queryListCount(@Param("key")String key,
                       @Param("deptIdList") List<Integer> deptIdList);
}
